<template>
  <section>
    <el-tabs value="one">
      <el-tab-pane label="食品管理" name="food">
        <food></food>
      </el-tab-pane>
      <el-tab-pane label="食品分类" name="second">
        <food-category></food-category>
      </el-tab-pane>
      <el-tab-pane label="食品功效" name="third">
        <food-effect></food-effect>
      </el-tab-pane>
      <el-tab-pane label="食谱" name="fourth">
        <recipe></recipe>
      </el-tab-pane>
    </el-tabs>
  </section>
</template>

<script>
  import food from  './food'
  import foodCategory from  './foodCategory'
  import foodEffect from  './foodEffect'
  import recipe from  './recipe'
  export default {
    name: "index",
    components: {food,foodCategory,foodEffect,recipe},
  }
</script>

<style scoped>

</style>
